package org.farm2.skc.service;

import org.farm2.skc.domain.SkcTag;
import org.farm2.skc.dto.web.WebTagDto;
import org.farm2.tools.db.DataQuery;
import org.farm2.tools.db.DataResult;

import java.util.List;

/**系统标签 
 * @author cbtg自动生成  2025-2-11 15:32:01 
 */
public interface SkcTagServiceInter {

    public SkcTag insertSkcTagEntity(SkcTag skcTag);

    public SkcTag editSkcTagEntity(SkcTag skcTag);

    public void delSkcTag(String id);

    public SkcTag getSkcTagById(String id);

    public List<SkcTag> getSkcTags(DataQuery query);

    public DataResult searchSkcTag(DataQuery query);

    public int getSkcTagNum(DataQuery query);
    
    public int getNum(DataQuery query);
    /*[tree：树形结构使用]
    public void moveTreeNode(List<String> ids, String id);
     */
    public void autoSort(List<String> ids);

    /**
     * 查询标签
     *
     * @param key
     * @return
     */
    public List<SkcTag> getTags(String key);

    /**
     * 获得用户所能访问的标签
     *
     * @return
     */
    public List<WebTagDto> getUserTags();
}
